// const ComponentBusiness = require('../../../utils/business/component');

let style = "width: 150px; height: 0px"

exports.csjAds = [
  {
      tplType: 'ad-pangolin',
      desc: "600*300广告位展示",
      operation: "点击渲染按钮，触发banner广告加载",
      expectUI: ['广告位展示正常，点击功能有反馈'],
      level: 'P0',
      params: {
        adDesc: '600*300',
        unitId: 'lduxp39qw3i9aw6zjj',
        adIntervals: 31,
        type: 'pangolin_banner',
        scale: 100,
        style: style
      },
      button: true,
      eventInfo: {
        eventList: ['bindload'],
        eventParam: {
            type: 'load',
            detail: {
                errMsg: 'string'
            }
        }
      },
      env: {
        hiddenLite: ['toutiao', 'toutiao_lite'],
        jssdk:'2.96.0.0'
      }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*400广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*400',
      unitId: 'dg1lko3uyuwmrmg6xo',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*500广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*500',
      unitId: 'w1gcchr3ocnym64oe4',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*260广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*260',
      unitId: 'a8r19tx9n9t62fo0mz',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*90广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*90',
      unitId: 'x4woev7t0xx51tcd4l',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*150广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*150',
      unitId: '5pgj6fz0h8nr10rits',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "640*100广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '640*100',
      unitId: 'wjkdaxz8vvyrnfudj9',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
  },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "690*388广告位展示",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '690*388',
      unitId: '5dag7xq6qe4yxj9dm6',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    button: true,
    eventInfo: {
      eventList: ['bindload'],
      eventParam: {
          type: 'load',
          detail: {
              errMsg: 'string'
          }
      }
    },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
  {
    tplType: 'ad-pangolin',
    desc: "600*300广告位关闭",
    operation: "点击渲染按钮，触发banner广告加载",
    expectUI: ['广告位展示正常，点击功能有反馈'],
    level: 'P0',
    params: {
      adDesc: '600*300',
      unitId: '2zgvbs6oken11sox4y',
      adIntervals: 31,
      type: 'pangolin_banner',
      scale: 100,
      style: style
    },
    eventInfo: {
      eventList: ['binderror'],
      eventParam: {
          type: 'error',
          detail: {
              errMsg: 'insertAdContainer:fail The adUnitId is closed',
              errNo: 21101,
              errCode: 1008
          }
      },
    },
    env: {
      hiddenLite: ['toutiao', 'toutiao_lite'],
      jssdk:'2.96.0.0'
    }
  },
];